//
//  MLHCommon.swift
//  molihe
//
//  Created by 姜维克 on 16/6/8.
//  Copyright © 2016年 姜维克. All rights reserved.
//

import UIKit
//swift中统一命名空间下文件都是共享的---全局共享的属性
let UIScreenWidth = UIScreen.mainScreen().bounds.width
let UIScreenHeight = UIScreen.mainScreen().bounds.height

//随机颜色
func randomColor()->UIColor{
    
    let red = CGFloat(random()%256) / 255.0
    let blue = CGFloat(random()%256) / 255.0
    let green = CGFloat(random()%256) / 255.0
    return UIColor.init(red: red, green: green, blue: blue, alpha: 1)
}